package com.yxuan.springboot.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @author zchao
 *    TestRecords实体类
 * @date 2023-05-16 14:22:56
 */
@Data
@ApiModel(description = "")
@JsonIgnoreProperties(value = { "hibernateLazyInitializer", "handler" })
public class TestRecords implements Serializable{

	  private static final long serialVersionUID = 1L;
	
	  @ApiModelProperty(value = "")
	  private Integer id;
	  @ApiModelProperty(value = "用户id")
	  private String userId;
	  @ApiModelProperty(value = "测试类型id")
	  private Integer typeId;
	  @ApiModelProperty(value = "测试题目版本")
	  private String version;
      //提交时间
      @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss" ,timezone = "GMT+8")
	  private Date submitTime;
	  @ApiModelProperty(value = "状态（未完成，保存退出：0 已全部完成：1）")
	  private String status;
	  @ApiModelProperty(value = "")
	  private Float grade;


}
